class CreatePages < ActiveRecord::Migration
  def self.up
    create_table :pages do |t|
      t.column :first_annoration_id, :integer
      t.column :uri, :string
      t.column :average_rating, :integer
      t.column :total_comments, :integer
      t.column :total_ratings, :integer
      t.column :created_at, :datetime
    end
  end

  def self.down
    drop_table :pages
  end
end
